package com.etc.service.impl;

import com.etc.dao.SysUserMapper;
import com.etc.pojo.sysuser.SysUser;
import com.etc.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserServiceImpl implements SysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public Integer insert(SysUser sysUser) {

        Integer restul = null;
        try {

             restul =  sysUserMapper.insert(sysUser);
        }catch (Exception e){
           e.printStackTrace();
        }
        return restul;
    }
}
